//
//  NetworkConfig.h
//  BaseProject
//
//  Created by Macx on 2018/2/22.
//  Copyright © 2018年 Gavin. All rights reserved.
//

#import <Foundation/Foundation.h>
//#import <AFNetworking/AFNetworking.h>
#import <AFNetworking/AFHTTPSessionManager.h>

@interface NetworkConfig : NSObject

//品牌id(默认不可修改,这里是为了测试切换品牌用到)
@property (nonatomic, copy) NSString *brandID;
//当前所登录的国家的服务器地址
@property (nonatomic, copy) NSString *baseUrl;
//区域编码  US  CN
@property (nonatomic, assign) NSString *areaCode;

@property (nonatomic, strong) NSString *cdnUrl;

@property (nonatomic, strong) AFSecurityPolicy *securityPolicy;

@property (nonatomic, strong) AFSecurityPolicy *otherSecurityPolicy;

@property (nonatomic, strong) NSURLSessionConfiguration* sessionConfiguration;

//后台语言  //英文 en-US,en;  中文 zh-CN,zh
@property (nonatomic, copy) NSString *language;

+ (NetworkConfig *)sharedConfig;

@end
